home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1553 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  748 b 

  1. Path: lugb.latrobe.edu.au!lux!cs102238
  2. From: cs102238@lux.latrobe.edu.au (Gregary John Boyles )
  3. Newsgroups: comp.lang.c
  4. Subject: RE : C equivalent to BASIC inkey.
  5. Date: 15 Jan 1996 13:27:18 GMT
  6. Organization: La Trobe University
  7. Distribution: world
  8. Message-ID: <4ddknm$2m9@lugb.latrobe.edu.au>
  9. NNTP-Posting-Host: lux.latrobe.edu.au
  10.  
  11. If you have a header file called conio.h then look for function getch(), 
  12. which reads a character from the key board buffer (with out requiring
  13. return to be pressed). You may also be interested in kbhit() which
  14. returns true if a key has been pressed but does not retrieve the character
  15. from the buffer. Otherwise you will have to write your own routines using
  16. DOS interrupts (see Ralph Brown's interrupt listing).
  17.  
  18.  
  19.